package homework008;

import java.util.HashMap;

public class Goods {
    private String name;
    private Double price;
    private HashMap<String, String> attrList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public HashMap<String, String> getAttrList() {
        return attrList;
    }

    public void setAttrList(HashMap<String, String> attrList) {
        this.attrList = attrList;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "name='" + name + '\'' +
                ", price=" + price +
                ", attrList=" + attrList +
                '}';
    }
}
